import java.util.Scanner;
public class Task06 {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int m = sc.nextInt();
		int n = sc.nextInt();
		sc.close();
		
		if (n < m){
			int tmp = m;
			m = n;
			n = tmp;
		}
		
		for (int i = m +1 ; i<n; i++){
			System.out.println(i +" ");
		}

	}

}
